home *** CD-ROM | disk | FTP | other *** search
- ;EXC Script Commands - Quick Reference
-
- ; Note: Brackets ([]) indicate an optional parameter and should not be
- ; included as part of the command. Quotes (""), where specified,
- ; are required to be entered as part of the parameter.
-
- ; BEEP Sound a short beep on speaker. Useful in debugging
- ; scripts.
- ; CASE ON The CASE commands enable case-sensitive (ON) or case-
- ; CASE OFF insensitive (OFF) compares by WAITFOR and SEARCH. The
- ; initial mode is CASE ON.
- ; CLEAR Clear the screen.
- ; CURSOR col row Move the cursor to the specified coordinates.
- ; DELAY n Wait n seconds
- ; GOTO label Unconditional branch to label.
- ; IFN label If condition set to N, go to label.
- ; IFY label If condition set to Y, go to label.
- ; HIDEWIN Restore a window displayed with SHOWIN to it's
- ; original color attributes.
- ; KEY mnemonic [n] Push the key onto the keyboard stack. 'n' is the
- ; number of times you want the keycode inserted.
- ; LOCATE "string" Reads the screen until the string appears, then moves
- ; the cursor to the start of the string.
- ; LOOK "string" Test to see if the string was on the screen at the
- ; time the screen was last read. Screen reads occur
- ; during execution of READ, SEARCH, WAITSCR and WAITFOR
- ; commands. Sets "Y/N" condition.
- ; ON n label Command will do nothing n times and on pass n+1, it
- ; will branch to label.
- ; PAUSE Causes the script to be paused as if Scroll Lock were
- ; pressed.
- ; QUIT [n] Halt processing the script file.
- ; End-of-file on the script file issues an automatic
- ; QUIT.
- ; If n is specified, that value (0-255) is returned
- ; as the DOS ERRORLEVEL. Otherwise, the return code
- ; of the spawned program is returned.
- ; READ Read the current screen contents.
- ; SCRMAX cols rows Specifies the largest screen size that will be used
- ; during execution. Used to allocate screen buffer.
- ; SEARCH "string" Read screen and test to see if the string is on the
- ; screen. Sets "Y/N" condition.
- ; SETWAIT nnn Wait nnn seconds before a WAITFOR or WAITSCR times
- ; out.
- ; SHOW attr "string" Display the string using the specified attribute.
- ; Displays at the location specified in SHOWAT.
- ; SHOWAT col row Specifies location for subsequent SHOW command
- ; strings to be displayed.
- ; SHOWIN attr Rewrite the current window text in the specified
- ; attribute.
- ; TICK n Same as DELAY except n represents 1/18th of a second
- ; instead of a second.
- ; TIME hhmmss Pause execution of subsequent commands until the
- ;
- ; specified time of day.
- ; TIMEOUT label Branch to label when the next WAITFOR or WAITSCR
- ; timeout occurs.
- ; TYPE "string" Type the ASCII string.
- ; TYPFILE filespec [mnemonic]
- ; Type the contents of the specified file. Replace
- ; CR/LFs with specified mnemonic.
- ; WAITFOR [NOT] "string" Wait until the string appears on the screen. If NOT
- ; specified, wait until string is not on screen.
- ; WAITSCR Wait until anything changes on the screen.
- ; WINCOLS start end Limit screen reads and SHOWIN to the screen columns
- ; specified.
- ; WINMAX Remove row and column restraints imposed by WINCOLS
- ; and WINROWS. Subsequent reads read the full screen.
- ; WINROWS start end Limit screen reads and SHOWIN to the screen rows
- ; specified.
- ; :label Define a label.
- ;
-